package com.lapian.designmode.flyweight.test.test_d;

public class ClientD {
    public static void main(String[] args) {
        DouLuoDaLuFactoryD douLuoDaLuFactoryD = new DouLuoDaLuFactoryD();
        AbstractRoleD abstractRoleD=douLuoDaLuFactoryD.getAbstractRoleD("控制系");
        abstractRoleD.use(new UserD("唐三"));
    }
}
